package cn.stylefeng.guns.modular.system.mapper;

import cn.stylefeng.guns.modular.system.entity.QuestionAnswer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * <p>
 * 车辆表 Mapper 接口
 * </p>
 */
public interface QuestionMapper extends BaseMapper<QuestionAnswer> {
    QuestionAnswer selectByQuestionId(@Param("userId") Long userId,
                                      @Param("id") Long id);

    List<Map<String, Object>> selectByUserId(@Param("userId") Long userId);
}
